#@cmsLayout()

#define cmsContent()
<div class="cms-breadcrumb">
	<i class="layui-icon layui-icon-flag"></i>
	<span class="layui-breadcrumb">
	  	<a><cite>修改密码</cite></a>
	</span>
</div>

<div class="body-card layui-card">
	<form id="updatePwd" class="layui-form layui-form-pane" action="#(ctx)/cmsAccount/updatePwd" method="post" onsubmit="return false;">
  		#(token)
  		<input class="layui-hide" type="text" name="id" value="#(a.id)">
  		<div class="layui-form-item">
    		<label class="layui-form-label">原密码</label>
    		<div class="layui-input-inline">
      			<input type="password" name="oldPwd" placeholder="请输入原有密码" class="layui-input">
    		</div>
    		<div class="layui-form-mid"><span class="color-warn">*</span></div>
  		</div>
  		<div class="layui-form-item">
    		<label class="layui-form-label">新密码</label>
    		<div class="layui-input-inline">
      			<input type="password" name="password" placeholder="请输入新密码" class="layui-input">
    		</div>
    		<div class="layui-form-mid"><span class="color-warn">*</span></div>
  		</div>
  		<div class="layui-form-item">
    		<label class="layui-form-label">确认密码</label>
    		<div class="layui-input-inline">
      			<input type="password" name="confirm" placeholder="请再次输入新密码" class="layui-input">
    		</div>
    		<div class="layui-form-mid"><span class="color-warn">*</span></div>
  		</div>
  		<div class="layui-form-item">
    		<div class="layui-input-block">
      			<button class="layui-btn" onclick="ajaxSaveForm('#updatePwd')">立即提交</button>
    		</div>
  		</div>
  	</form>
</div>

#@jsInit()
#end